home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 #26 / q26.d81 / t.dt128 docs 3 < prev    next >
Encoding:
Text File  |  1991-01-01  |  16.2 KB  |  477 lines

  1.  
  2.  
  3. Buffer Utility
  4. --------------
  5.  
  6. Edit Buffer:
  7.  
  8.   With this option you enter the buffer editor.  See the section below for
  9. commands.
  10.  
  11. Save Buffer:
  12.  
  13.   Allows you to save the buffer to disk.  You must enter a file name, file
  14. type, and conversion (see "conversions")
  15.  
  16. Append to Disk:
  17.  
  18.   Allows you to append the buffer to a pre-existing disk file.
  19.  
  20. Load Buffer:
  21.  
  22.   Load a file from disk.  The capture buffer is cleared first.
  23.  
  24. Append to Buffer:
  25.  
  26.   Appends a disk file to the end of the buffer.
  27.  
  28. Print Buffer:
  29.  
  30.   Enters a submenu where printing parameters are set.
  31.  
  32.   Print to:
  33.  
  34.       Sets the print destination device.  Can be Screen, Disk, Modem, or
  35. Printer.
  36.  
  37.   Output Codes:
  38.  
  39.    Can be True Ascii or PetAscii.  If True Ascii, the buffer is printed
  40. with NO conversion.  If PetAscii, the buffer is converted from True Ascii
  41. to PetAscii.
  42.  
  43.   Printer Device Number:
  44.  
  45.    Can be 4 or 5
  46.  
  47.   Printer Secondary Address:
  48.  
  49.    Can be 0-255
  50.  
  51.   Print Module:
  52.  
  53.    This is a module that allows you to set many more printing variables and
  54. formatting options.
  55.  
  56.   Print:
  57.  
  58.    Starts printing.  For screen and modem printing, the character delay
  59. value in the Buffer Menu is used.  The print speed can be varied during
  60. printing by pressing the arrow up key to speed up, and the arrow down key
  61. to slow down.  You can pause screen and modem printing by pressing the
  62. SHIFT key.  Printer and disk printing is ALWAYS full speed.  Emulations ARE
  63. active for screen printing!  When printing the bytes free will count down
  64. the number of bytes still to be printed.
  65.  
  66. Delay Factors - 128 0
  67.  
  68.   The first digit is the delay factor per character.  Zero is full speed,
  69. 255 is the slowest.  For modem prints, this value becomes very important.
  70. If this number is too low you may get garbled characters.  The second digit
  71. is how long to pause after each RETURN is printed, in seconds.
  72.  
  73. Buffer Open:
  74.  
  75.   No  - Not capturing characters
  76.   Yes - Capturing text only
  77.   All - Capturing all codes
  78.  
  79. Buffer Wrap:
  80.  
  81.   Tells whether the buffer word wrap is on or off.
  82.  
  83. Clear Buffer:
  84.  
  85.   Clears the buffer.
  86.  
  87. Fast Disk Access:
  88.  
  89.   This is a system module for 1541 users.  It features high speed load,
  90. append, and save routines.  See "fastbuf" for further information.
  91.  
  92. Conversions:
  93.  
  94. Loading:
  95.  
  96.  True Ascii   - loads the file, no conversion
  97.  PetAscii     - load and convert file from PetAscii to True Ascii
  98.  Screen Codes - load and convert file from screen codes to True Ascii
  99.  Basic        - allows you to load C64/C128 Basic programs as text files
  100.  
  101.     When loading a Basic program, the terminal type determines whether it
  102. is loaded as a True Ascii text file, or a PetAscii text file.  If the
  103. terminal type is C/G it is loaded as a PetAscii text file.  Otherwise it is
  104. loaded as a True Ascii text file.  There are a few unique features for True
  105. Ascii images.  Any character code that cannot be converted to Ascii will
  106. appear in braces <>.  PRINT"CLR" loads as PRINT<147>.  PI will also appear
  107. within braces.
  108.  
  109.     Load a BASIC program that has some print statements in it with cursor
  110. controls to see how this works.
  111.  
  112. Saving:
  113.  
  114. True Ascii   - save to capture buffer with no conversion
  115. PetAscii     - save buffer, convert from True Ascii to Ascii
  116. Screen Codes - save buffer, convert from True Ascii to screen codes
  117. Basic        - save a text file as a Basic program
  118.  
  119.     In order for this to work each line must start with a number with a
  120. space following it.  Each line can be up to 160 characters long and must
  121. end with a carriage RETURN.  If the text file is in True Ascii, the
  122. terminal type must be set to anything but C/G.  If the text file is in the
  123. buffer as PetAscii codes, then the terminal type must be C/G.  To save the
  124. file in C64 BASIC format, set the screen width to 40 columns.  To save the
  125. file in C128 BASIC format, set the screen width to 80 columns.
  126.  
  127.     Terminal type and screen width are found in "Terminal Options."
  128.  
  129.     A short example...
  130.  
  131.       Set the terminal type to Ascii.  Clear the buffer and enter the
  132. editor.  Type the following line:
  133.  
  134.    10 print"[147]this is a test"
  135.  
  136. exit the editor with ESCape.  (braces are Alt-[ and Alt-]).  Save the
  137. buffer to disk with any file name, select "p" for program file, and "b" for
  138. BASIC.  Exit DT128 and load the program with ,8.  Then list it.
  139.  
  140. Notes:
  141.  
  142. For PetAscii and screen code conversions, any character that can't be
  143. converted is LOST!
  144.  
  145. When saving text to a BASIC file, the save is extremely slow.  This is
  146. because each line must be tokenized before it can be saved.
  147.  
  148. If you attempt to load a text file with BASIC conversion, the system will
  149. appear to lock up.  The reason for this is BASIC program lines end with a
  150. code of zero, a character that will virtually never be found in a text
  151. file.  The system is looking for the character zero [chr$(0)], but can't
  152. find it.  Characters are loading even though the byte count displays will
  153. not update.  Eventually the end of the file will be reached and you will
  154. regain control.
  155.  
  156. RETURN will select the first file type and the first conversion at the
  157. file
  158. type and conversion prompts.
  159.  
  160.  
  161. Buffer Editor
  162. -------------
  163.  
  164. The capture buffer is designed to be an Ascii editor.  You can capture C/G
  165. (PetAscii) or even enter PetAscii codes directly from the keyboard, but the
  166. characters will not look right.  Any code 0-255 can be used, which is
  167. useful for creating emulated files, or examining received escape
  168. sequences.
  169.  
  170. F1 - is the "gold" key.  Several keys have more than 1 function.  The
  171. secondary functions require that you press F1 first, then the key.  The
  172. gold key is active when the "G" indicator is lit.
  173.  
  174. F2 - deletes 1 word forward or backward depending on the left/right arrow
  175. indicator
  176.  
  177. F3 - selects either insert or overstrike text mode (see the "I"
  178. indicator).
  179.  
  180. F4 - delete 1 sentence forward or backward depending on the left/right
  181. arrow indicator
  182.  
  183. F5 - allows repetition of a key or command.  Press F5 and you will be
  184. prompted to enter a repeat factor from 1-999.  Then press the key or
  185. command to repeat.
  186.  
  187.   Try this:
  188.  
  189.   In the editor press F5.  You will see the cursor by the "REPETITIONS" at
  190. the lower right of the screen.  Enter the number 79 on the keyboard and
  191. press RETURN.  Now press the dash "-".  You should see 79 dashes.  The key
  192. or command you press is repeated the number of times you specified.  The
  193. ESCape key aborts this function.
  194.  
  195.   You can use repetitions in macros.  Press KEYPAD 5 to enter a macro.
  196. Then press F5 and enter a digit from 1-999.  Then enter the key or command
  197. to repeat.  F5xxxC where xxx is the number of times to repeat
  198. character/command c.
  199.  
  200.   To repeat a letter "c" 100 times in a macro enter:
  201.  
  202.   (F5)100c
  203.  
  204.   to repeat "c" 7 times enter:
  205.  
  206.   (F5)7c
  207.  
  208.   The repeat factor can be entered as a 1 to 3 digit number UNLESS the
  209. character to be repeated is a digit.  To repeat a "7" 9 times you must must
  210. enter the repeat value as a 3 digit number as follows:
  211.  
  212.   (F5)0097
  213.       xxx
  214.  
  215.   You must force the repeat value to 3 digits when repeating a digit.  The
  216. following is incorrect:
  217.  
  218.   (F5)97
  219.  
  220.   The reason is because the macro interpreter will evaluate the 97 as a
  221. repeat value of 97 rather than repeat the "7" 9 times.  By forcing leading
  222. zeroes when necessary to a repeat value you force the interpreter to
  223. evaluate (F5)0097 as repeat "7" 9 times because the interpreter will use at
  224. most 3 digits for a repeat value, "009" in this example.
  225.  
  226.    (F5) means press the F5 KEY in the above examples.
  227.  
  228. F6 - delete 1 paragraph forward or backward depending on the left/right
  229. arrow indicator
  230.  
  231. F7 - changes the Ascii keyboard to a PetAscii keyboard.  PetAscii mode
  232. remains in affect until you press the ESCape key.  In PetAscii mode your
  233. typed characters will not look correct.  This is because PetAscii
  234. characters are being represented by an Ascii character set.
  235.  
  236. F8 - redraws the screen.
  237.  
  238. Arrow Up - Move backward "up" 1 sentence
  239.  
  240.    If the "A" indicator is turned on (Alt-A), this command moves up 1
  241. screen row with no scrolling
  242.  
  243. Arrow Down  - Move forward "down" 1 sentence
  244.  
  245.    If the "A" indicator is turned on (Alt-A), this command moves down 1
  246. screen row with no scrolling
  247.  
  248. Arrow Left  - Move left "backward" 1 word
  249.  
  250. Arrow Right - Move right "forward" 1 word
  251.  
  252. Cursor Up    - Move up 1 paragraph
  253.  
  254. Cursor Down  - Move down 1 paragraph
  255.  
  256. Cursor right - Move right 1 character
  257.  
  258. Cursor left  - Move left 1 character
  259.  
  260. INST - Inserts a space
  261.  
  262. F1 INST - Inserts 256 spaces
  263.  
  264. CTRL ESCape to enter an escape (Ascii 27)
  265.  
  266. ESCape exits the editor.
  267.  
  268.  
  269. Keypad command summary
  270. ----------------------
  271.  
  272. 0   sets the left/right margins.  Press the keypad zero, then use the
  273. left/right arrows to slide the "L" along the column grid.  When done, press
  274. RETURN.  Do the same for the right margin.  Press RETURN when done.  ESCape
  275. aborts.
  276.  
  277. F1 CTRL 1  This command is used to "filter" out a character.  The most
  278. common use would be to remove linefeeds from the buffer.  You must first
  279. select the code to be filtered.  This is done by typing the character, or
  280. by entering the code with the "ENTER" key (see below).  The last typed
  281. character is the filter code.  Then press F1, then CTRL 1.
  282.  
  283. F1 2   If the "Blind Dial" module is in memory this command will activate
  284. it (see "Blind Dial")
  285.  
  286. F1 CTRL 2  converts the codes from the cursor to the end of the buffer from
  287. PetAscii to Ascii.
  288.  
  289. F1 3   If the graphics module is in memory this command accesses a
  290. character palette for Vt-100 and Ansi emulations only.  See "GFX" for more
  291. information.
  292.  
  293. F1 CTRL 3  converts the codes from the cursor to the end of the buffer from
  294. Ascii to PetAscii.
  295.  
  296. 4    shows the current search, replace, and macro strings.  Press any key
  297. to show each, ESCape exits.
  298.  
  299. F1 4   if the spell checker module is in memory it is activated.
  300.  
  301. 5    defines an editor macro.  All characters, and most keypad commands can
  302. be used in a macro.  If a command appears in a macro that is not a valid
  303. macro command it is ignored.  Type 5 and you will see the macro input line.
  304. Type the following
  305.  
  306.      keys...
  307.  
  308.      F5 7 1 * <RETURN> * F5 6 9 <space> * <RETURN> F5 7 1 * <RETURN>
  309.  
  310. (spaces inserted for clarity only, the 7 1 and 6 9 must be typed on the
  311. keyboard wherever values are required, like in this case for a repetition
  312. count.  You can enter keypad numbers in macros, but they perform commands
  313. rather than supply a numeric value.  The F5 means function key 5.)
  314.  
  315.      Then press ENTER.  To execute the macro press F1 then keypad 5.  If
  316. you typed the macro correctly you should see a 71 by 3 box of asterisks.
  317.  
  318.      Take this one step farther.  Press F5 and enter the number 10 for the
  319. repetition count, then press RETURN.  Now press F1 and then the keypad 5.
  320. The macro will repeat 10 times.  While macros are running you will be able
  321. to see what part of the macro is active but watching screen row 23.  To
  322. abort a macro, hold down RUN/STOP until it is recognized.
  323.  
  324. 6    Sets the current cursor position.  A prompt appears next to the "BYTES
  325. BEG" indicator.  Enter the position you want to jump to.  If the value you
  326. enter is beyond the end of the buffer, the cursor will go to the end of the
  327. buffer.
  328.  
  329. F1 6    Enters calculator mode.  Enter a math equation in standard C128
  330. format.  Press RETURN to see the result.  This command only works if the
  331. calculator module is in memory.
  332.  
  333. 7     search for a string
  334.  
  335. F1 7    set search string
  336.  
  337. 8     set replace string
  338.  
  339. F1 8    do "fast" search with replace.  This means the screen is not
  340. redrawn until the repetitions (if any) have been completed
  341.  
  342. 9    sets both search and replace strings
  343.  
  344. F1 9    do "slow" search with replace.  The screen is redrawn with each
  345. replacement.
  346.  
  347.      For string searches, the strings must match EXACTLY.  The search is
  348. case-sensitive for alphabetic characters, UNLESS you type Alt-C (The "C"
  349. indicator will light up).  If the "C" indicator is lit, "a" and "A" are
  350. considered a match.  That is, the search is not case-sensitive for
  351. alphabetic codes.
  352.  
  353. +     press once to move the cursor to the top of the current screen, press
  354. twice in succession to move to the top of the buffer
  355.  
  356. F1 +   clears the buffer from the cursor to the beginning of the buffer
  357.  
  358. -      press once to move the cursor to the last character on the current
  359. screen, press twice in succession to move to the end of the buffer
  360.  
  361. CTRL -   on input lines, control minus recalls the previous string
  362.  
  363. F1 -    clears from the cursor to the end of the buffer
  364.  
  365. F1 CTRL -  clears from the cursor to the end of the current screen
  366.  
  367. . (PERIOD)   enters "mark text" mode.  Use the arrow keys to highlight the
  368. desired text, then press "." again.  The selected text will flash, and you
  369. are prompted to enter a "mark" command.  Mark commands are:
  370.  
  371.     Delete - deletes the marked text
  372.  
  373.     +     copies the marked text into the paste buffer
  374.  
  375.     -     copies the marked text into the paste buffer,
  376.           then deletes the marked text
  377.  
  378.     1     force upper case letters
  379.  
  380.     2     force lower case letters
  381.  
  382.     3     switch case for letters
  383.  
  384. F1 .    "Pastes" copies the paste buffer into the capture buffer at the
  385. cursor position
  386.  
  387. ENTER - Enter a character code 0-255 or $00-$FF if hex mode active (see
  388. indicators)
  389.  
  390.   For input lines:
  391.  
  392.     ENTER terminates the input.
  393.  
  394.     CTRL ENTER allows entering of a code 0-255 on an input line
  395.  
  396.  
  397. INDICATORS
  398. ----------
  399.  
  400. At the bottom of the display you will see several indicators:
  401.  
  402. BYTES BEG 00000   BYTES FREE 64000
  403. BYTES BOT 00000   BYTES USED 00000
  404.  
  405.    are self explanatory.  Repetitions tells how many "repeats" of a letter
  406. or command are pending (see F5).  "Code" tells you the Ascii code of the
  407. character under the cursor.  At the lower right corner of the screen you
  408. will occasionally see informatory messages.  The 23rd screen line is
  409. reserved for editor inputs, and row 22 shows the column numbers and left
  410. and right margins.  There are 11 indicators in the center of row 24:
  411.  
  412. B  - a flashing "B" means that the blind dialer is active.
  413.  
  414. W  - Word wrap (Alt-W toggles it on/off)
  415.  
  416. D or H - D for decimal code display, H for Hex code display (Alt-H)
  417.  
  418. A - A means the up and down arrows move up or down 1 line.  (Alt-A),
  419. otherwise the up/down arrows move 1 sentence forward or backward.
  420.  
  421. C - C means that for text searches, upper and lower case letters are
  422. considered a match.  (Alt-C)
  423.  
  424. down/up arrow - sets the direction for text searches.  (F1 arrow down to
  425. search towards the end of the buffer.  F1-arrow up to search towards the
  426. beginning of the buffer)
  427.  
  428. left/right arrow - normally a left arrow.  This means that the delete key
  429. deletes towards the left, and the word/sentence/paragraph delete functions
  430. delete towards the end of the buffer.  A right arrow means that the delete
  431. key deletes characters into the cursor, and the word/sentence/paragraph
  432. delete functions delete towards the beginning of the buffer.  (F1 right or
  433. left arrow)
  434.  
  435. I - I means insert mode.  If the "I" indicator is off you are in
  436. overstrike
  437.     mode.  (F3)
  438.  
  439. G - lights when you press F1.  This means that a secondary function is
  440.     ready.
  441.  
  442. S - lights whenever the screen is drawn
  443.  
  444. W - means that a command is still working
  445.  
  446.  
  447. Notes:
  448.  
  449. Be very careful if you change the arrow indicators.  If you change either
  450. one for a command, you should change them back to default values (arrow
  451. down/arrow left).  Otherwise the delete functions (including the delete
  452. key) work "backwards."
  453.  
  454. If you are online and receiving characters while you are in the editor, you
  455. should not use any functions that require excessive screen scrolling.
  456. While the screen is scrolling the RS-232 receive buffer is NOT emptied.
  457. You will likely have an overrun and you will lose some characters.  You
  458. will also notice that editor response time will slow down while you are
  459. receiving characters.  Clearing the RS-232 reception buffer has a higher
  460. priority than editor commands.
  461.  
  462. While the screen is scrolling you can slow the scroll by holding down the
  463. Control key.  You can see the location of the scroll by pressing the
  464. Commodore key during a long scroll.  You can stop the scroll at any time by
  465. pressing RUN/STOP.  The current top of the screen becomes the current
  466. cursor position.  You can skip ahead and avoid watching a long, boring
  467. scroll by holding down the Commodore key then pressing RUN/STOP.
  468.  
  469. Experiment in the editor... type control characters to see what they look
  470. like.  For example, control a-z will appear as reverse lower case letters
  471. with a bar over the top.  ESCape (remember to type CTRL-ESCape) appears as
  472. a reversed "ES" (1 character).  Codes 128-255 are the reverse of codes 0-
  473. 127.  The exception is for VT-100 and Ansi.  If the terminal type is either
  474. of these, the IBM extended characters appear as codes 128-255.
  475.  
  476.  
  477.